package com.wanmait.heatingrepair.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import lombok.Data;

/**
* Created by Mybatis Generator 2021/05/10
*/
@Data
@TableName(value = "admin_type")
public class AdminType implements Serializable {
     @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 角色名称（管理员类型）
     */
    @TableField(value = "title")
    private String title;

    /**
     * 排序
     */
    @TableField(value = "sort")
    private Integer sort;

    @TableLogic
    @TableField(value = "enable")
    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public static final String COL_TITLE = "title";

    public static final String COL_SORT = "sort";

    public static final String COL_ENABLE = "enable";
}